##
## Be sure to run `pod lib lint CPAnimationKit.podspec' to ensure this is a
## valid spec before submitting.
##
## Any lines starting with a # are optional, but their use is encouraged
## To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
##
#
#Pod::Spec.new do |s|
#  s.name             = 'CPAnimationKit'
#  s.version          = '0.1.0'
#  s.summary          = 'A short description of CPAnimationKit.'
#
## This description is used to generate tags and improve search results.
##   * Think: What does it do? Why did you write it? What is the focus?
##   * Try to keep it short, snappy and to the point.
##   * Write the description between the DESC delimiters below.
##   * Finally, don't worry about the indent, CocoaPods strips it!
#
#  s.description      = <<-DESC
#TODO: Add long description of the pod here.
#                       DESC
#
#  s.homepage         = 'https://github.com/tomboyt@163.com/CPAnimationKit'
#  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
#  s.license          = { :type => 'MIT', :file => 'LICENSE' }
#  s.author           = { 'tomboyt@163.com' => 'tomboyt@163.com' }
#  s.source           = { :git => 'https://github.com/tomboyt@163.com/CPAnimationKit.git', :tag => s.version.to_s }
#  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
#
#  s.ios.deployment_target = '9.0'
#
#  s.source_files = 'CPAnimationKit/Classes/**/*'
#
#  # s.resource_bundles = {
#  #   'CPAnimationKit' => ['CPAnimationKit/Assets/*.png']
#  # }
#
#  # s.public_header_files = 'Pod/Classes/**/*.h'
#  # s.frameworks = 'UIKit', 'MapKit'
#  # s.dependency 'AFNetworking', '~> 2.3'
#end
Pod::Spec.new do |s|
  s.name             = 'CPAnimationKit'
  s.version          = '0.1.2'
  s.license          = 'Public'
  s.summary          = 'CoreAnimation Kit.'
  s.description      = <<-DESC
    About CoreAnimation Kit.
                   DESC
  s.source           = { :git => 'https://gitee.com/ShouZhiMuorShouMuZhi/CPAnimationKit.git',:tag=>'0.1.2'}
  s.homepage         = 'https://gitee.com/ShouZhiMuorShouMuZhi/CPAnimationKit'
  s.author           = { 'tomboyt' => 'tomboyt@163.com' }
  s.platform         = :ios, '10.0'
  s.source_files     = 'CPAnimationKit/**/*.{swift,framework}'
  #'CPAnimationKit/**/*.{h,m}'
  #'CPAnimationKit/*.{h,m}'
  s.static_framework = true
  s.requires_arc    = true
  s.swift_versions    = '5.0'
  s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 arm64' }

  s.subspec 'Vendors' do |ss|
    #ss.frameworks           = 'UIKit'
    #ss.libraries            = 'sqlite3.0', 'stdc++.6.0.9'

    ss.vendored_frameworks   = 'CPAnimationKit/Vendors/*.framework'
    #ss.vendored_libraries   = 'CPAnimationKit/Vendors/thirdlibs/*.a'

    ss.preserve_paths        = 'CPAnimationKit/Vendors/*.framework'#, 'CPAnimationKit/Vendors/thirdlibs/*.a'
    #ss.pod_target_xcconfig  = { 'LD_RUNPATH_SEARCH_PATHS' => '$(PODS_ROOT)/CPAnimationKit/Vendors/' }
   end

end
